<template>
  <PageSearch @queryClick="handleQueryClick" @resetClick="handleResetClick" />
  <div class="wrapper">用户管理</div>
</template>

<script setup lang="ts">
// 模块引入
import { toRaw } from 'vue'
// import PageSearch from '@/components/page/search/index.vue'
// import searchConfig from '../../../absolescent/config/user.config'
defineOptions({
  // 组件名称
  name: 'UserComp',
  // 继承透传，是否继承没在子组件声明的父组件的属性
  inheritAttrs: false
})

const handleQueryClick = (queryInfo: any) => {
  const { createAt } = toRaw(queryInfo)
  console.log(createAt)
}
const handleResetClick = () => {
  console.log('重置')
}
</script>

<style scoped lang="scss"></style>
